
class EnvContext {
    static getInstance() {
        if (!EnvContext.instance) {
            EnvContext.instance = new EnvContext()
        }
        return EnvContext.instance
    }

    setMainWin(mainWin) {
        this.mainWin = mainWin
    }

    getMainWin() {
        return this.mainWin
    }

    setLastScreanId(screanId) {
        this.lastScreanId = screanId
    }

    getLastScreanId() {
        return this.lastScreanId
    }
}

module.exports = EnvContext;
